ci: Remove Docker test environment from CI (#806)

This commit is contained in:
Matan Kushner
2020-01-06 00:35:46 -05:00
committed by GitHub
parent 45e6b3e052
commit 09fe0afc14
5 changed files with 6 additions and 153 deletions
-18
View File
@@ -152,24 +152,6 @@ jobs:
command: test
args: -- -Z unstable-options --include-ignored
# Run the tests in the Docker image
docker_test:
name: Test in Docker
needs: [cargo_check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull the pre-built Docker image
run: docker pull starshipcommand/starship-test
- name: Fix file permissions
run: chmod -R a+w .
- name: Build the Docker image
run:
docker build -f tests/Dockerfile --tag starshipcommand/starship-test --cache-from
starshipcommand/starship-test .
- name: Run tests in Docker
run: docker run --rm -v $(pwd):/src/starship starshipcommand/starship-test
# Publish starship to Crates.io
cargo_publish:
if: startsWith(github.ref, 'refs/tags/v')