Skip to content

Commit

Permalink
Set up test action
Browse files Browse the repository at this point in the history
  • Loading branch information
sufftea committed Jul 4, 2024
1 parent a740b4d commit 3782c9c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run tests

on:
push:
pull_request:
types: [opened, synchronize, reopened]
branches: [dev, main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
- uses: subosito/flutter-action@v2
with:
# flutter-version: "3.0.0"
channel: stable
- name: Get dependencies
run: flutter pub get
- name: Run tests
run: flutter test
- name: Dry pubilsh
run: dart pub publish --dry-run
Binary file added temp
Binary file not shown.
8 changes: 8 additions & 0 deletions temp.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include <stdio.h>

int main(int argc, char *argv[]) {
for (int i = 0; i < argc; ++i) {
printf("argv[%d]: %s\n", i, argv[i]);
}
return 0;
}

0 comments on commit 3782c9c

Please sign in to comment.