mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:14:02 +03:00
Enable tests back
This commit is contained in:
+55
-55
@@ -35,59 +35,59 @@ on:
|
|||||||
- ready_for_review
|
- ready_for_review
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# test:
|
test:
|
||||||
# name: Test
|
name: Test
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
# with:
|
with:
|
||||||
# submodules: recursive
|
submodules: recursive
|
||||||
#
|
|
||||||
# - uses: jdx/mise-action@v3
|
- uses: jdx/mise-action@v3
|
||||||
# name: Install mise
|
name: Install mise
|
||||||
#
|
|
||||||
# - name: Run tests
|
- name: Run tests
|
||||||
# run: mise tasks run covtest
|
run: mise tasks run covtest
|
||||||
#
|
|
||||||
# - name: Collect coverage
|
- name: Collect coverage
|
||||||
# uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
# with:
|
with:
|
||||||
# files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
#
|
|
||||||
# fuzz:
|
fuzz:
|
||||||
# name: Fuzzing
|
name: Fuzzing
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
# with:
|
with:
|
||||||
# submodules: recursive
|
submodules: recursive
|
||||||
#
|
|
||||||
# - uses: jdx/mise-action@v3
|
- uses: jdx/mise-action@v3
|
||||||
# name: Install mise
|
name: Install mise
|
||||||
#
|
|
||||||
# - name: Run fuzzing
|
- name: Run fuzzing
|
||||||
# run: mise tasks run 'test:fuzz:*'
|
run: mise tasks run 'test:fuzz:*'
|
||||||
#
|
|
||||||
#
|
|
||||||
# lint:
|
lint:
|
||||||
# name: Lint
|
name: Lint
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
# with:
|
with:
|
||||||
# submodules: recursive
|
submodules: recursive
|
||||||
#
|
|
||||||
# - uses: jdx/mise-action@v3
|
- uses: jdx/mise-action@v3
|
||||||
# name: Install mise
|
name: Install mise
|
||||||
#
|
|
||||||
# - name: Run linter
|
- name: Run linter
|
||||||
# run: mise tasks run lint
|
run: mise tasks run lint
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Docker
|
name: Docker
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
${{ runner.os }}-buildx-
|
${{ runner.os }}-buildx-
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
# if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
pull: true
|
pull: true
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
|
||||||
push: false
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=local,src=/tmp/buildx-cache
|
cache-from: type=local,src=/tmp/buildx-cache
|
||||||
|
|||||||
Reference in New Issue
Block a user